package com.kyzh.core.uis

import android.content.Context
import android.view.LayoutInflater
import android.widget.TextView
import com.gushenge.core.beans.Sort
import com.gushenge.core.beans.UserCenter
import com.kyzh.core.R

object TabItems {
    fun getGameRankTabView(context: Context, position:Int,list:ArrayList<Sort>) : TextView {
        val view: TextView = LayoutInflater.from(context).inflate(R.layout.game_rank_tab_item, null) as TextView
        view.text = list[position].name
        return view
    }
    fun MeTabView(context: Context, position:Int,list:ArrayList<UserCenter.Lists>) : TextView {
        val view: TextView = LayoutInflater.from(context).inflate(R.layout.game_rank_tab_item, null) as TextView
        view.text = list[position].name
        return view
    }
}